<%--
  Created by IntelliJ IDEA.
  User: 悠乐美
  Date: 2022/1/12
  Time: 10:19
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<html>
<head>
    <title>Title</title>
</head>
<body>
<br/>
<jsp:include page="top.jsp"></jsp:include>
<hr/>
<table border="1px">
    <tr>
        <th>菜品名称</th>
        <th>菜品类别</th>
        <th>原料</th>
        <th>单价</th>
        <th>说明</th>
        <th>&nbsp;</th>
        <th>&nbsp;</th>
    </tr>
    <c:forEach items="${list}" var="cp">
        <tr>
            <td>${cp.cpmc}</td>
            <td>${cp.cplb.cpname}</td>
            <td>${cp.yl}</td>
            <td>${cp.dj}</td>
            <td>${cp.shm}</td>
            <td><a href="">修改</a></td>
            <td><a href="">删除</a></td>
        </tr>
    </c:forEach>
    <tr>
        <td colspan="7" align="center">
            <a href="/cp/toTj.do">添加菜品</a>

        </td>
    </tr>
</table>
</body>
</html>
